function myAlert(str: string): void {
  alert(str)
}

myAlert('hello world!!')